package com.hn.hnspringbootdemo.controller;

import com.hn.hnspringbootdemo.entity.*;
import com.hn.hnspringbootdemo.service.SpringBreeze;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class SpringBreezeController {

    private static final Logger log = LoggerFactory.getLogger(SpringBreezeController.class);

    private SpringBreeze springBreeze;

    @Autowired
    public SpringBreezeController(SpringBreeze springBreeze) {
        this.springBreeze = springBreeze;
    }

    @GetMapping("commonBusService")
    public Result<ResultResponseRetInfo> commonBusService(Params<CommonBusServiceParams> p) {
        // 分公司接口
        return new Result<ResultResponseRetInfo>(new ResultResponseErrorInfo(), new ResultResponseRetInfo());
    }

}
